package com.flycms.web.activity.vo;


import com.flycms.module.activity.model.ActivityDetail;
import com.flycms.module.activity.model.ActivityTag;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author mdoenglang
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ActivityVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 活动名称
     */
    private String activityName;

    /**
     * 描述
     */
    private String desc;

    /**
     * 类别名称
     * @see com.flycms.module.activity.enums.ActivityTypeEnum
     */
    private String type;

    /**
     * 图片路径
     */
    private String imgUrl;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 标签列表
     */
    private List<ActivityTag> tags;

    /**
     * 活动详情
     */
    private ActivityDetail detail;

}
